package chapter1.domain.entity.dto;

/**
 * 数据传输对象类型-用户
 *
 * @author 郑植航
 * @since 2025/5/17 16:23
 */
public class UserDto extends BaseDto{
    public int id;
    //用户名
    public String username;
    //真实姓名
    public String name;
    //电话
    public String mobile;
    //邮箱
    public String email;
    //所属部门
    public Integer deptId;
    //所属角色
    public Integer roleId;

    public UserDto() {
    }

    public UserDto(String username, String name, String mobile, String email, Integer deptId, Integer roleId) {
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
